//
//  main.m
//  MobileDoom
//
//  Created by Steven Troughton-Smith on 07/03/2008.
//  Copyright __MyCompanyName__ 2008. All rights reserved.
//

#import <UIKit/UIKit.h>
#include <dlfcn.h>


int main(int argc, char *argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
	
#if 0
	void *handle = dlopen ("/System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface", RTLD_LAZY);
	if (!handle) {
		dlclose(handle);
		NSLog(@"Couldn't Load CoreSurface.framework");
		return;
	}
	
	NSLog(@"CoreSurface loaded");
	
#endif
	
    int retVal = UIApplicationMain(argc, argv, @"DoomApp", @"DoomAppDelegate");
    [pool release];
    return retVal;
}
